// 引入http模块
var http = require('http');
// 创建一个http服务器
var server = http.createServer(function(req, res) {

    res.writeHead(200, {'Content-type': 'text/plain'});
    res.end('Hello World');

});
// 监听端口
server.listen(13377, '127.0.0.1');
console.log('server running at http://127.0.0.1:1337/')
